import axios from 'axios';
import { request, post } from './axiosFun';
// axios.defaults.headers.Authorization = localStorage.getItem("Authorization");

/** 
 * 账号密码登录
 * @param {object} params LoginByPassForm
 * @param {string} params.account 账号
 * @param {string} params.password 密码
 * @returns
 */
export const login = (data) => { return post("/api/login/byPass", data) };
